## a simple use
bhs.res = Bai.Hu.Shen.Urn(k = 3,
p = c(0.7, 0.8, 0.6),
ssn = 500,
Y0 = NULL,
nsim = 200,
alpha = 0.05)
## view the output
bhs.res
# \donttest{
## view all simulation settings
bhs.res$name
bhs.res$parameter
bhs.res$k
## View the simulations results
bhs.res$propotion
bhs.res$failRate
bhs.res$pwCalc
bhs.res$assignment
# }
Run the code above in your browser using DataLab